package com.ruiaa.meeting.service;

import com.ruiaa.meeting.common.CommonResponse;
import com.ruiaa.meeting.model.User;
import com.ruiaa.meeting.model.vo.UserVo;

import java.util.List;

/**
 * @author chenhuaiyi
 * @date 2022-11-04 10:49
 */
public interface UserService {

    CommonResponse<UserVo> login(String username, String password);
    CommonResponse<List<User>>getAllAdmin();
   CommonResponse<Object> addAdmin(String username, String password);
    CommonResponse<Object> removeAdmin(String username);
    CommonResponse<UserVo> updateAdmin(User user);
    CommonResponse<UserVo> setAdminPassword(String username, String password);
    CommonResponse<Object> disableAdmin(String username);
    CommonResponse<Object> ableAdmin(String username);
}
